package com.xiguanlezz.cn.api.remote.request;

import com.xiguanlezz.cn.api.naming.pojo.Instance;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/11/21 07:44
 * @Description：实例注册的请求类
 */
@Setter
@Getter
public class InstanceRequest extends AbstractNamingRequest {
    private String type;
    private Instance instance;

    public InstanceRequest(String namespace, String serviceName, String groupName, String type, Instance instance) {
        super(namespace, serviceName, groupName);
        this.type = type;
        this.instance = instance;
    }

}